package com.yanmaohu.yulia.bean;

/**
 * @author Bright Lee
 */
public final class CastToDistinct {

    private int beginIndex;
    private int endIndex;
    private Identifier castToDistinctIdentifier;

    public CastToDistinct(int beginIndex, Identifier castToDistinctIdentifier) {
        this.beginIndex = beginIndex;
        this.endIndex = castToDistinctIdentifier.getEndIndex();
        this.castToDistinctIdentifier = castToDistinctIdentifier;
    }

    public int getBeginIndex() {
        return beginIndex;
    }

    public int getEndIndex() {
        return endIndex;
    }

    public Identifier getCastToDistinctIdentifier() {
        return castToDistinctIdentifier;
    }

}
